<head>
  <meta charset="UTF-8">
  <title></title>
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <style>textarea, button {display: block}</style>
</head>
<body>
  <div>
    起始数编号 / 结果总数量： {$products_info.start} / {$products_info.totalResults}
    <?php if ($products_info['start'] > ($page + 1) * 25) { var_dump($products_info['start'] - (($page + 1) * 25)); ?>
     <a href="?page={$page - 1}">[上一页]</a>
    <?php } ?>
    <?php if ($products_info['totalResults'] - ($page * 25) > $products_info['start']) {?>
     <a href="?page={$page + 1}">[下一页]</a>
    <?php } ?>
  </div>
  <strong style="color: red">
    RMB 价格 = 原价 * 7.5 
  </strong>
  <table class="table">
    <tr>
      <th>产品编号</th>
      <th>产品图片</th>
      <th>产品价格</th>
      <th>产品名称</th>
      <th>库存</th>
    </tr>
    {foreach $products_info.items as $vo} 
    <tr>
      <td>{$vo.itemId}</td>
      <td><img src="{$vo.thumbnailImage}"></td>
      <td>
        <div>
          {$vo.salePrice} USD
        </div>
        <div>
          ~ {$vo.salePrice * 7.5} RMB
        </div>
      </td>
      <td>
        <div><a href="{$vo.productUrl}">{$vo.name}</a></div>
      </td>
      <td>
        <div>{$vo.stock}</div>
      </td>
    </tr>
    {/foreach}
  </table>
</body>